package org.lsc.summerservice.impl;

import org.lsc.UserRepository;
import org.lsc.summerentity.User;
import org.lsc.summerservice.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.List;

/**
 * @author 刘事成
 * @Description:
 * @date 2018/9/13 11:30
 */
@Service
public class UserServiceImpl  implements UserService {


    @Override
    public List<User> list() {
        List list =new ArrayList();
        User user = new User();
        user.setRealName("11");
        list.add(user);
        return list;
    }
}